package com.ewzj.bigdata.mvp.contract

import com.ewzj.bigdata.mvp.model.rspbean.*
import com.jess.arms.mvp.IModel
import com.jess.arms.mvp.IView
import io.reactivex.Observable

/**
 * author:zhangjing
 * 作用:
 * return:
 */
class LogoContract{
    interface View : IView{
        fun setLogoview(abbean:AdBean)
        fun settvTimeview(long: Long)
    }

    interface Model: IModel{
       fun getSavedCity():CityBean.ListEntity
        fun getconfigInfo(): Observable<BaseData<ConfigBean>>
        fun getAdList(): Observable<BaseData<AdBean>>
        fun getCityByname(city:String): Observable<BaseData<CitySearchBean>>
    }
}